package com.kele.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

/**
 * @author 赵奥林
 * @date 2021年05月10日 12:48
 * @Description
 */
@ApiModel(value = "用户类",description = "用户对象user")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User implements Serializable {

    @ApiModelProperty(value = "用户id")
    private Integer  id;
    @ApiModelProperty(value = "用户账号")
    private String account;
    @ApiModelProperty(value = "用户密码")
    private String password;
    @ApiModelProperty(value = "昵称")
    private String nickname;
    @ApiModelProperty(value = "真实姓名")
    private String realname;
    @ApiModelProperty(value = "年龄")
    private int age;
    @ApiModelProperty(value = "性别")
    private String sex;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "生日")
    private String birthday;
    @ApiModelProperty(value = "头像地址")
    private String src;
    @ApiModelProperty(value = "博客篇数")
    private int blognumber;
    @ApiModelProperty(value = "用户级别")
    private int vip;
    @ApiModelProperty(value = "用户粉丝数")
    private int fans;
    @ApiModelProperty(value = "用户关注数")
    private int follow;
    @ApiModelProperty(value = "vip时长及状态")
    private String paytime;

}
